﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DbFrame.DbContext.PostgreSql.Achieve
{
    using System.Data;
    using Npgsql;

    public class AdoAchieve : SqlServer.Achieve.AdoAchieve
    {

        public AdoAchieve(string ConnectionString) : base(ConnectionString)
        {

        }


        /// <summary>
        /// 数据库 连接对象
        /// </summary>
        /// <returns></returns>
        public override IDbConnection GetDbConnection()
        {
            return new NpgsqlConnection(this._ConnectionString);
        }


    }
}
